package com.ynet.hmds28.movie.dao;

import com.ynet.hmds28.movie.model.Movieflow;
import com.ynet.hmds28.movie.model.MovieflowQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MovieflowDao {
	
	//开启GTS事务
	public void enableTXC();
	
    int countByExample(MovieflowQuery example);

    int deleteByExample(MovieflowQuery example);

    int deleteByPrimaryKey(String movieflowid);

    int insert(Movieflow record);

    int insertSelective(Movieflow record);

    List<Movieflow> selectByExample(MovieflowQuery example);

    Movieflow selectByPrimaryKey(String movieflowid);

    int updateByExampleSelective(@Param("record") Movieflow record, @Param("example") MovieflowQuery example);

    int updateByExample(@Param("record") Movieflow record, @Param("example") MovieflowQuery example);

    int updateByPrimaryKeySelective(Movieflow record);

    int updateByPrimaryKey(Movieflow record);
}